package com.tencent.pet.mapper;

import com.tencent.basic.mapper.BaseMapper;
import com.tencent.pet.domain.Pet;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Rixyo
 * @since 2022-06-18
 */
public interface PetMapper extends BaseMapper<Pet> {

    /**
     * 宠物批量下架
     * @param offsaletime
     * @param ids
     */
    void patchOffsale(@Param("offsaletime")Date offsaletime, @Param("ids")Long[] ids);
}
